﻿using System.Xml.Serialization;
namespace Yun.Shop
{
    public class CommonCategory
    {
        /// <summary>
        /// 扩展内容
        /// </summary>
        [XmlElement("ext")]
        public string Ext { get; set; }

        /// <summary>
        /// 外部ID
        /// </summary>
        [XmlElement("outer_id")]
        public int OuterId { get; set; }

        /// <summary>
        /// 自定义状态码
        /// </summary>
        [XmlElement("state")]
        public int State { get; set; }

        /// <summary>
        /// 分类ID
        /// </summary>
        [XmlElement("id")]
        public int Id { get; set; }

        /// <summary>
        /// 父ID
        /// </summary>
        [XmlElement("parent_id")]
        public int ParentId { get; set; }

        /// <summary>
        /// 分类名字
        /// </summary>
        [XmlElement("name")]
        public string Name { get; set; }

        [XmlElement("sort")]
        public long Sort { get; set; }

        [XmlElement("display")]
        public bool Display { get; set; }
    }
}
